<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include file="Traffic_Info_Inc.asp" -->
<%
If Request.ServerVariables ("Request_Method")="POST" Then
	Call Traffic_Info_Action()	
Else
	
	Call Get_Traffic_Info("Info_ID")

End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/2010admin/css/default.css" type="text/css" rel="stylesheet">
<title><%=web_title%></title>
<script language="javascript" src="/2010admin/js/validator.js"></script>
<script language="javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/2010admin/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/2010admin/ckfinder/ckfinder.js"></script>

</head>
<body >
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="5"></td>
  </tr>
  <tr>
    <td width="100%" align="center">
      <table border="0" width="98%" cellSpacing="0" cellPadding="0">
        <tr>
          <td width="*" align="center" valign="top">
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">管理导航</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="20">&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="userlist"><a href="Info_Query.asp">信息列表</a></span>&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="useradd"><a href="Traffic_Info_AE.asp">增加新的交通信息</a></td>
                    </tr>
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0">
              <tr>
                <td width="100%" height="5"></td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop"><%=Action%>交通信息</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0" class="tablesh">
                  <form name="form" method="post" action="" onSubmit="return Validator.Validate(this, 2)">

                    <tr>
                      <td height="25">类型</td>
                      <td><% MySelected "TI_Type","公交,的士,省汽车站,港口,火车站,机场","公交,的士,省汽车站,港口,火车站,机场","",TI_Type %></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">交通信息标题</td>
                      <td width="*"><input name="TI_Title" type="text" id="TI_Title" size="60" value="<%=TI_Title%>" dtype="Limit" min="2" max="100" dmsg="交通信息标题必须在2-100个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">配图</td>
                      <td width="*">
					  <input type="text" name="TI_Pic"  value="<%=TI_Pic%>" size="60" ><iframe id=d_file frameborder=0 src="/2010admin/common/file_upload.asp?change_field=TI_Pic" width="300" height="40" scrolling=no></iframe>
                     </td>
                    </tr>

                    <tr>
                      <td width="80" height="25">信息内容</td>
                      <td width="*">
							<textarea name="TI_Detail" class="ckeditor"><%=TI_Detail%></textarea>
					  </td>
                    </tr>
	
                    <tr>
                      <td width="80" height="25">收费说明</td>
                      <td width="*"><input name="TI_Fee" type="text" id="TI_Fee" size="60" value="<%=TI_Fee%>" dtype="Limit" min="0" max="100" dmsg="交通收费小于100个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">咨询及投诉电话</td>
                      <td width="*"><input name="TI_Tel" type="text" id="TI_Tel" size="60" value="<%=TI_Tel%>" dtype="Limit" min="0" max="20" dmsg="电话必须小于20个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">地址</td>
                      <td width="*"><input name="TI_Address" type="text" id="TI_Address" size="60" value="<%=TI_Address%>" dtype="Limit" min="0" max="20" dmsg="地址必须小于20个字符间"></td>
                    </tr>
 
                    <tr>
                      <td width="80" height="25">附加说明</td>
                      <td width="*">
							<textarea name="TI_Remark" cols="65" rows="6" dtype="Limit" min="0" max="1000" dmsg="附加说明小于1000个字符" ><%=TI_Remark%></textarea>
					  </td>
                    </tr>

                    <tr>
                      <td height="25">&nbsp;</td>
                      <td><input type="submit" name="submit" value="提交" class="button">&nbsp;<input type="reset" name="reset" value="取消" class="button"></td>
                    </tr>
					<input type="hidden" name="Info_ID" value="<%=Info_ID%>">
                  </form>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" height="5"></td>
  </tr>
</table>
</body>
</html>

<%
Call conn_close()
%>

